package com.tencent.wxcloudrun.service.impl;

import com.tencent.wxcloudrun.dao.TWarningMsgLogMapper;
import com.tencent.wxcloudrun.model.TWarningMsgLog;
import com.tencent.wxcloudrun.service.TWarningMsgLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class TWarningMsgLogServiceImpl implements TWarningMsgLogService{

    @Resource
    private TWarningMsgLogMapper tWarningMsgLogMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tWarningMsgLogMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TWarningMsgLog record) {
        return tWarningMsgLogMapper.insert(record);
    }

    @Override
    public int insertSelective(TWarningMsgLog record) {
        return tWarningMsgLogMapper.insertSelective(record);
    }

    @Override
    public TWarningMsgLog selectByPrimaryKey(Integer id) {
        return tWarningMsgLogMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TWarningMsgLog record) {
        return tWarningMsgLogMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TWarningMsgLog record) {
        return tWarningMsgLogMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<TWarningMsgLog> findAll(Map param) {
        return tWarningMsgLogMapper.findAll(param);
    }

}
